import request from '@/utils/request'

export function getStart1() {
    return request({
        url: '/u/v1/time/start1',
        //传递对象类型的参数需加请求头
        method: 'get',
    })
}

export function getStart2() {
    return request({
        url: '/u/v1/time/start2',
        //传递对象类型的参数需加请求头
        method: 'get',
    })
}

export function getStart3() {
    return request({
        url: '/u/v1/time/start3',
        //传递对象类型的参数需加请求头
        method: 'get',
    })
}

export function earnings(query) {
    return request({
        url: '/u/v1/time/start/earnings',
        //传递对象类型的参数需加请求头
        method: 'post',
        data: query
    })
}

export function price(query) {
    return request({
        url: '/u/v1/time/start/price',
        //传递对象类型的参数需加请求头
        method: 'post',
        data: query
    })
}

export function round(query) {
    return request({
        url: '/u/v1/time/start/round',
        //传递对象类型的参数需加请求头
        method: 'post',
        data: query
    })
}
